<template>
  <div class="admin">
    <el-container>
      <el-header><Header /></el-header>
      <el-container>
        <el-aside width="200px"><Navlist /></el-aside>
        <el-main><Menu /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from "@/layout/Header.vue";
import Navlist from "@/layout/Navlist.vue";
import Menu from "@/layout/Menu.vue";
export default {
  name: "admin",
  components: {
    Header,
    Navlist,
    Menu,
  },
};
</script>


<style scoped lang="scss">
// ui库样式
.admin {
  width: 100vw;
  height: 100vh;
  .el-container {
    width: 100%;
    height: 100%;
    .el-header,
    .el-main {
      padding: 0;
      margin-top: 5px;
    }
    .el-aside {
      overflow-x: hidden;
    }
  }
}
</style>